package com.caseeye.test
import com.caseeye.base.Versioning

import com.caseeye.base.Entity

import com.caseeye.model.annotation.IdField
import scala.reflect.BeanProperty

class A extends Entity with Versioning {

    @IdField
    @BeanProperty
    var a1 : String = null

    @BeanProperty
    var a2 : B = null

    override def toString = "a1:[%s], a2:[%s], version:[%s]".format(a1, a2,version)

}